package com.zhangye.test.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.zhangye.test.model.ArNavigation;

@Repository
public interface ArNavigationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ArNavigation record);

    ArNavigation selectByPrimaryKey(Long id);

    List<ArNavigation> selectAll();

    int updateByPrimaryKey(ArNavigation record);
    
    List<ArNavigation> selectByDistance(String lat,String lng);
}